package Task8;

import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Scanner;

public class All {
	public static void main(String[] args) {
		try {
			Scanner x = new Scanner(System.in);
			String a = x.next();
			InetAddress[] b = InetAddress.getAllByName(a);
			for (InetAddress i : b) {
				System.out.println(i.getHostAddress());
			}
		} catch (UnknownHostException e) {
			e.printStackTrace();
		}
	}
}
